Automattic\Jetpack\Sync\Actions D

Total Complexity 153
Dependencies 21
Dependents 24
Total lines 1,165
Lines of code 558
Logical lines of code 310
Comment lines 467
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
send_data()
B
32 21 101
do_cron_sync_by_type()
A
48 16 29
get_sync_status()
A
42 12 48
get_debug_details()
A
44 9 44
should_initialize_sender()
A
51 10 28
sync_allowed()
A
54 9 24
process_rest_api_response()
A
52 8 24
init()
S
53 7 22
do_initial_sync()
S
57 5 17
cleanup_on_upgrade()
S
58 5 15
initialize_woocommerce()
S
60 4 13
maybe_schedule_sync_cron()
S
60 4 13
jetpack_cron_schedule()
S
59 3 13
do_full_sync()
S
62 3 12
reset_sync_locks()
S
58 2 16
should_initialize_sender_enqueue()
S
66 3 9
do_only_first_initial_sync()
S
69 3 7
initialize_search()
S
64 3 9
get_start_time_offset()
S
63 2 11
add_sender_shutdown()
S
64 2 10
sanitize_filtered_sync_cron_schedule()
S
67 2 8
add_dedicated_sync_sender_init()
S
67 2 9
prevent_publicize_blacklisted_posts()
S
70 2 6
initialize_wp_super_cache()
S
70 2 6
prepare_jsonl_data()
S
62 1 13
init_sync_cron_jobs()
S
64 1 9
clear_sync_cron_jobs()
S
77 1 4
sync_via_cron_allowed()
S
80 1 3
add_search_sync_module()
S
76 1 4
add_wp_super_cache_sync_module()
S
76 1 4
add_woocommerce_hpos_order_sync_module()
S
76 1 4
add_woocommerce_sync_module()
S
76 1 4
initialize_sender()
S
74 1 4
mark_sync_read_only()
S
79 1 3
do_cron_full_sync()
S
80 1 3
do_cron_sync()
S
80 1 3
set_is_importing_true()
S
80 1 3
initialize_listener()
S
79 1 3